//
//  Storage.m
//  Cxzc
//
//  Created by hwd on 17/8/21.
//  Copyright © 2017年 张露杰. All rights reserved.
//

#import "Storage.h"


@implementation Storage

//+(BOOL)isLogin//是否登录
//{
//    if ([standfault objectForKey:@"userInfo"]) {
//        return YES;
//    }
//    return NO;
//}
//+(void)outLogin//退出登录
//{
//    [standfault removeObjectForKey:@"userInfo"];
//}
//
//+(NSString *)getSex//获取性别
//{
//    if ([ToolViewVC isNotNullStr:[standfault objectForKey:@"sex"]]) {
//        if ([[standfault objectForKey:@"sex"] isEqual:@"1"]) {
//            return @"女";
//        }
//    }
//    return @"男";
//}
//+(NSString *)getToken//获取手机号码
//{
//    return [ToolViewVC getNotNullStr:[[standfault objectForKey:@"userInfo"] objectForKey:@"id"]];
//}
//+(NSString *)getPhone//获取手机号码
//{
//    return [ToolViewVC getNotNullStr:[[standfault objectForKey:@"userInfo"] objectForKey:@"phone"]];
//}
//+(NSString *)getNickName//获取昵称
//{
//    return [ToolViewVC getNotNullStr:[[standfault objectForKey:@"userInfo"] objectForKey:@"nickName"]];
//}
//+(NSString *)getBirthday//获取生日
//{
//    return [ToolViewVC getNotNullStr:[[standfault objectForKey:@"userInfo"] objectForKey:@"birthday"]];
//}
//+(NSString *)getIdCard//获取银行卡
//{
//    return [ToolViewVC getNotNullStr:[[standfault objectForKey:@"userInfo"] objectForKey:@"idCard"]];
//}
//+(NSString *)getVerificationCode//获取验证码
//{
//    return [ToolViewVC getNotNullStr:[[standfault objectForKey:@"userInfo"] objectForKey:@"verificationCode"]];
//}
//+(NSString *)getName//获取姓名
//{
//    return [ToolViewVC getNotNullStr:[[standfault objectForKey:@"userInfo"] objectForKey:@"name"]];
//}
//+(CGFloat)getBalance
//{
//    return [[ToolViewVC getNotNullStr:[[standfault objectForKey:@"userInfo"] objectForKey:@"balance"]] floatValue] + [[ToolViewVC getNotNullStr:[[standfault objectForKey:@"userInfo"] objectForKey:@"giveBalance"]] floatValue];
//}
@end
